package com.zhc.dejingapi.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author zhc
 * @date 2024年10月11日 14:26
 */
@Data
public class QingInjectAndSendWorkVo {

    private Long mainId;
    @ApiModelProperty("数据ID")
    @TableField("applyId")
    private Long applyId;

    @ApiModelProperty("水煮派工单编号")
    @TableField("boiling_send_work_code")
    private String boilingSendWorkCode;

    @ApiModelProperty("注塑报工单编号")
    @TableField("inject_report_code")
    private String injectReportCode;

    @ApiModelProperty("生产订单应用编号")
    @TableField("order_code")
    private String orderCode;

    @ApiModelProperty("工序计划应用编号")
    @TableField("process_plan_code")
    private String processPlanCode;

    @ApiModelProperty("生产批号(ERP)")
    @TableField("batch_num")
    private String batchNum;

    @ApiModelProperty("注塑派工单编号")
    @TableField("zs_send_work_code")
    private String zsSendWorkCode;

    @ApiModelProperty("订单日期")
    @TableField("order_date")
    private LocalDate orderDate;

    @ApiModelProperty("开工日期")
    @TableField("start_date")
    private LocalDate startDate;

    @ApiModelProperty("完工日期")
    @TableField("end_date")
    private LocalDate endDate;

    @ApiModelProperty("生产订单类型")
    @TableField("prod_order_type")
    private String prodOrderType;

    @ApiModelProperty("设备编号")
    @TableField("eq_code")
    private String eqCode;

    @ApiModelProperty("设备名称")
    @TableField("eq_name")
    private String eqName;

    @ApiModelProperty("模具编码")
    @TableField("mould_code")
    private String mouldCode;

    @ApiModelProperty("模具名称")
    @TableField("mould_name")
    private String mouldName;

    @ApiModelProperty("存货编码")
    @TableField("inv_code")
    private String invCode;

    @ApiModelProperty("存货名称")
    @TableField("inv_name")
    private String invName;

    @ApiModelProperty("规格型号")
    @TableField("inv_type")
    private String invType;

    @ApiModelProperty("工序名称")
    @TableField("process_name")
    private String processName;

    @ApiModelProperty("生产数量")
    @TableField("prod_num")
    private Integer prodNum;

    @ApiModelProperty("报工类型")
    @TableField("report_type")
    private String reportType;

    @ApiModelProperty("班次名称")
    @TableField("classes_name")
    private String classesName;

    @ApiModelProperty("生产人员编号")
    @TableField("psn_code")
    private String psnCode;

    @ApiModelProperty("生产人员名称")
    @TableField("psn_name")
    private String psnName;

    @ApiModelProperty("报工开始时间")
    @TableField("report_start_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportStartTime;

    @ApiModelProperty("报工结束时间")
    @TableField("report_end_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportEndTime;

    @ApiModelProperty("合模数")
    @TableField("eq_run_mold_num")
    private Integer eqRunMoldNum;

    @ApiModelProperty("报工方式")
    @TableField("report_mode")
    private String reportMode;

    @ApiModelProperty("单箱数量/件")
    @TableField("qty_per_carton")
    private Integer qtyPerCarton;

    @ApiModelProperty("良品数")
    @TableField("qualify_qty")
    private Integer qualifyQty;

    @ApiModelProperty("箱数")
    @TableField("pro_num")
    private Integer proNum;

    @ApiModelProperty("预计箱数")
    @TableField("plan_num")
    private Integer planNum;

    @ApiModelProperty("尾箱数量/件")
    @TableField("mod_qty")
    private Integer modQty;

    @ApiModelProperty("报工时间")
    @TableField("report_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reportTime;

    @ApiModelProperty("主计量单位编码")
    @TableField("unit_code")
    private String unitCode;

    @ApiModelProperty("主计量单位名称")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty("派工日期")
    @TableField("send_work_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate sendWorkDate;

    @ApiModelProperty("班次编码")
    @TableField("classes_code")
    private String classesCode;

    @ApiModelProperty("派工人数")
    @TableField("send_work_people_num")
    private Integer sendWorkPeopleNum;

    @ApiModelProperty("订单池应用编号")
    @TableField("order_pool_code")
    private String orderPoolCode;

    @ApiModelProperty("工作中心编码")
    @TableField("work_center_code")
    private String workCenterCode;

    @ApiModelProperty("工作中心名称")
    @TableField("work_center_name")
    private String workCenterName;

    @ApiModelProperty("设备类型编码")
    @TableField("eq_type_code")
    private String eqTypeCode;

    @ApiModelProperty("设备类型名称")
    @TableField("eq_type_name")
    private String eqTypeName;

    @ApiModelProperty("班组编码")
    @TableField("team_code")
    private String teamCode;

    @ApiModelProperty("班组名称")
    @TableField("team_name")
    private String teamName;

    @ApiModelProperty("标准工时")
    @TableField("standard_working_hour")
    private String standardWorkingHour;

    @ApiModelProperty("标准人数")
    @TableField("standard_num")
    private Integer standardNum;

    @ApiModelProperty("工序行号")
    @TableField("process_line_num")
    private Integer processLineNum;

    @ApiModelProperty("工序编码")
    @TableField("process_code")
    private String processCode;

    @ApiModelProperty("工序备注")
    @TableField("process_mark")
    private String processMark;

    @ApiModelProperty("是否首道工序")
    @TableField("first_operation")
    private String firstOperation;

    @ApiModelProperty("是否末道工序")
    @TableField("last_operation")
    private String lastOperation;


    @ApiModelProperty("派工单状态")
    @TableField("send_work_sts")
    private String sendWorkSts;


    @ApiModelProperty("生产人员工号")
    @TableField("work_people_code")
    private String workPeopleCode;

    @ApiModelProperty("生产人员名称")
    @TableField("work_people_name")
    private String workPeopleName;


    @ApiModelProperty("是否报工")
    @TableField("report")
    private String report;


    @ApiModelProperty("生产订单号(ERP)")
    @TableField("prod_order_code")
    private String prodOrderCode;

    @ApiModelProperty("生产订单行号(ERP)")
    @TableField("prod_order_line_num")
    private Integer prodOrderLineNum;

    @ApiModelProperty("打印次数")
    @TableField("print_num")
    private Integer printNum;

    @ApiModelProperty("累计报工数")
    @TableField("total_report_num")
    private Integer totalReportNum;

    @ApiModelProperty("累计生产数")
    @TableField("total_work_num")
    private Integer totalWorkNum;

    @ApiModelProperty("累计合格数")
    @TableField("total_acceptance_num")
    private Integer totalAcceptanceNum;

    @ApiModelProperty("累计报废数")
    @TableField("total_scrap_num")
    private Integer totalScrapNum;

    @ApiModelProperty("水煮开始时间")
    @TableField("boiling_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime boilingStartTime;

    @ApiModelProperty("预计结束时间")
    @TableField("predict_boiling_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime predictBoilingEndTime;

    @ApiModelProperty("实际结束时间")
    @TableField("real_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime realEndTime;

    @ApiModelProperty("剩余时长")
    @TableField("remaining_time")
    private String remainingTime;

    @ApiModelProperty("水煮时长")
    @TableField("boiling_time")
    private String boilingTime;

    @ApiModelProperty("超时")
    @TableField("overtime")
    private String overtime;

    @ApiModelProperty("水煮框号")
    @TableField("boiling_frame_code")
    private String boilingFrameCode;

    @ApiModelProperty("单框数量")
    @TableField("each_carton_qty")
    private Integer eachCartonQty;

    @ApiModelProperty("水煮箱号")
    @TableField("boiling_box_code")
    private String boilingBoxCode;





}
